473,416 Members | 1,858 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 software developers and data experts.

style for float bottom

I have created a test page with a window in it created by using divs, but I
haven't figured out how to move the "down arrow" to the bottom of the main
div.

http://www.hulenbend.net/test2.html

I was looking for a style property like float:bottom but I guess there isn't
one. I don't want to use any hard positional values like left: and top:

Any help is appreciated.

Mike
Jul 20 '05 #1
13 42324
Michael Hill wrote:
I have created a test page with a window in it created by using divs, but I
haven't figured out how to move the "down arrow" to the bottom of the main
div.

http://www.hulenbend.net/test2.html

I was looking for a style property like float:bottom but I guess there isn't
one. I don't want to use any hard positional values like left: and top:

Any help is appreciated.

Mike


It [down arrow] is at the bottom it's just underneath the arrow_up.gif.
Basically you just want both images/links visiable side by side? I know
you stated you're looking for the down arrow to be at the bottom of the
div but how exactly are you laying this out? The look of it? Not the
code. Give me a feel of where you are going with this if you could and I
would be happy to help.
Jul 20 '05 #2
"Michael Hill" <hi****@charter.net> wrote:
I have created a test page with a window in it created by using divs, but I


Don't multipost.

--
Spartanicus
Jul 20 '05 #3
"Michael Hill" <hi****@charter.net> wrote:
I have created a test page with a window in it created by using divs, but I
haven't figured out how to move the "down arrow" to the bottom of the main
div. http://www.hulenbend.net/test2.html
You want the down button at the bottom of the box on the right.

I was looking for a style property like float:bottom but I guess there isn't
one. I don't want to use any hard positional values like left: and top:
How about position:absolute and then adjust "top" and "margin-left"?

If you change CLwindow height to 200:

..clDown {
position: absolute;
width:12;
height:12;
margin-left: 4px;
top: 180px;
z-index:60;
background-color:#EEF3F9;
layer-background-color:#EEF3F9
}
Any help is appreciated.


But wouldn't it just be better to use a listbox or combobox? True, you
can't use z-index. But do you really need z-index? And true, in IE the
only thing you can change is font color and background color. But that
might be sufficient. Plus, it will degrade to a standard control, if
styles are modified or overridden.
Jul 20 '05 #4
I dont want to use absolute positioning.

Mike
"Mark Johnson" <10*******@compuserve.com> wrote in message
news:3g********************************@4ax.com...
"Michael Hill" <hi****@charter.net> wrote:
I have created a test page with a window in it created by using divs, but Ihaven't figured out how to move the "down arrow" to the bottom of the maindiv.

http://www.hulenbend.net/test2.html


You want the down button at the bottom of the box on the right.

I was looking for a style property like float:bottom but I guess there isn'tone. I don't want to use any hard positional values like left: and top:


How about position:absolute and then adjust "top" and "margin-left"?

If you change CLwindow height to 200:

.clDown {
position: absolute;
width:12;
height:12;
margin-left: 4px;
top: 180px;
z-index:60;
background-color:#EEF3F9;
layer-background-color:#EEF3F9
}
Any help is appreciated.


But wouldn't it just be better to use a listbox or combobox? True, you
can't use z-index. But do you really need z-index? And true, in IE the
only thing you can change is font color and background color. But that
might be sufficient. Plus, it will degrade to a standard control, if
styles are modified or overridden.

Jul 20 '05 #5
It [down arrow] is at the bottom it's just underneath the arrow_up.gif.
Basically you just want both images/links visiable side by side? I know
you stated you're looking for the down arrow to be at the bottom of the
div but how exactly are you laying this out? The look of it? Not the
code. Give me a feel of where you are going with this if you could and I
would be happy to help.


Yes I want the down arrow at the bottom much like a control, not next to the
up arrow. This is going to be used in areas where I am limited with the
amount of room I have. So in my code the sizes can be static and I can place
stuff in there. It may contain any number of elements in it, not only
anchors as i have here, but possibly images as well.

I dont want to use hard positioning.

Thanks, Mike
Jul 20 '05 #6

I posted it first in .... html, then when I found this ng I thought it was
more appropriate to be here. You know, if I could have removed it from the
other I would have, but you know ..... I couldn't. If you are offended
sorry, just ignore it.

Mike
Jul 20 '05 #7
"Michael Hill" <hi****@charter.net> wrote:
I posted it first in .... html, then when I found this ng I thought it was
more appropriate to be here.
What are you replying to? (quote a minimal bit of what you are replying
to).
If you are offended


You were given advice, who said anything about being offended?

--
Spartanicus
Jul 20 '05 #8
>
If you are offended


You were given advice, who said anything about being offended?


You didn't give any advice. No one did, I said "IF".

Mike
Jul 20 '05 #9
On Thu, 29 Apr 2004 06:44:51 -0500, Michael Hill <hi****@charter.net>
wrote:
I dont want to use absolute positioning.


Please don't top post.

Are you allergic to absolute positioning? What if it's the best tool to do
what you want?
Jul 20 '05 #10
Michael Hill wrote:

Spartanicus wrote:
You were given advice


You didn't give any advice.


Sure he did. "Don't multipost."

--
Brian (remove "invalid" from my address to email me)
http://www.tsmchughs.com/
Jul 20 '05 #11


Neal wrote:

On Thu, 29 Apr 2004 06:44:51 -0500, Michael Hill <hi****@charter.net>
wrote:
I dont want to use absolute positioning.
Please don't top post.


Sorry my cursor automatically moved there and I didn't catch it. My bad.
Are you allergic to absolute positioning? What if it's the best tool to do
what you want?


I want to use these as divs as the mechanism that goes in a calendar.
One would equal 1 day. So when we have 30 of these I don't want to
create an absolute position for them, but put them in a <table>
structure. If there is more content than the size of that square i'd
like to have a mechanism for scrolling.

That is the reason I'd like to have the 'down arrow' to be positioned at
the bottom.
Jul 20 '05 #12
Michael Hill wrote:
I want to use these as divs as the mechanism that goes in a calendar.
One would equal 1 day. So when we have 30 of these I don't want to
create an absolute position for them, but put them in a <table>
structure.
Use position: relative;
This will keep the day div (isn't it a TD?) in the flow. You need not
change the actual position of the day div.
If there is more content than the size of that square i'd
like to have a mechanism for scrolling.

That is the reason I'd like to have the 'down arrow' to be positioned at
the bottom.


position: absolute; for the down arrow. It will use the dimesions of the
closest parent whose position is not static. (That's why you use
"relative" for the day div.)

<table class="calendar">
<tr>
<td class="day Monday">
content
<img src="down.png">
</td>
<td class="day Tuesday">
etc.
</td>
</tr>
</table>

..calendar TD { postion: relative; }
..calendar IMG {position: absolute; bottom: 0; }

--
Brian (remove "invalid" from my address to email me)
http://www.tsmchughs.com/
Jul 20 '05 #13
"Michael Hill" <hi****@charter.net> wrote:
I dont want to use absolute positioning.


You said you WANTED the down button at the bottom. If, for example,
you changed the height to 200, then .cldown, as below, will put the
button at the bottom - yes?

I suggested, if you'll recall, that in this case it might be better
just to use a combobox, which would degrade even if styles are broken
or not used. But if you have some further project in mind, only you'd
know that.
If you change CLwindow height to 200: .clDown {
position: absolute;
width:12;
height:12;
margin-left: 4px;
top: 180px;
z-index:60;
background-color:#EEF3F9;
layer-background-color:#EEF3F9
}

Jul 20 '05 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: TheKeith | last post by:
Is it just me or does opera and ie not render the float style properly? IE does a sucky job at it, but opera makes a total mess; Mozilla/Firefox renders it correctly however. I'm just trying to be...
3
by: T | last post by:
I am attempting to create a menu using <div> and <span> tags within a table cell. When the page loads, some of the classes don't seem to be applied. If I hover over the menu everything is fine...
17
by: ryan.fairchild | last post by:
Ok, I have a problem with my boxes. I am making a blog currently but I don't think I am implementing my boes correctly. My website is www.ryanfairchild.com. Currently it looks fine as the...
21
by: Michael Bierman | last post by:
Please forgive the simplicy of this question. I have the following code which attempts to determine the color of some text and set other text to match that color. It works fine in Firefox, but does...
7
by: ~john | last post by:
I'm trying to move myself off of using tables for page layout so I'm giving DIV tags a shot, mostly for the header, right and left columns... with left being the traditional navigational side and...
1
by: Brian D | last post by:
Take a look at this page. http://tempsite.texwipe.com/test/ The code is too long to post here so just look at the source. It works flawlessly in IE, but in Firefox not so much. Here is the...
8
by: Amit | last post by:
I have a master page and a content page but the stylesheet isnt getting applied like how it looks in visual studio design view. The master page is defined like this: <%@ Master Language="VB"...
12
by: Eric Lindsay | last post by:
I have a web page at http://www.architectqueensland.com/index.html styled with http://www.architectqueensland.com/architect.css The site is valid HTML 4.01 Strict. The CSS is valid 2.1 except for...
2
by: melvinsdayout | last post by:
I have been having problems with IE 7 not responding to changes in the style sheet it is linked to. My problem is that my site looks good in Firefox, and was looking good in ie7 via an statement...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.